home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6625 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  997 b 

  1. Path: usamrid.innovsoftd.com!news
  2. From: "David A. Peterson" <dpeterso@mail.isd.net>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Leap Years
  5. Date: Wed, 14 Feb 1996 08:20:10 -0600
  6. Organization: Applied Systems, Inc.
  7. Message-ID: <3121EF9A.CA5@mail.isd.net>
  8. References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com>
  9. NNTP-Posting-Host: pm2e-1-214.innovsoftd.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. Richard E. Fiegle wrote:
  16. > david.mohorn@sourcebbs.com (DAVID MOHORN) wrote:
  17. > >How do you feature out leap years?  If its evenly divisible by 400 and
  18. > >4?
  19. > >
  20. > Anything divisible by 4 is already guaranteed to be
  21. > divisible by 400.
  22.  
  23.  
  24. Leap years are evenly divisible by 4, except those that are evenly divisible by 100.
  25. Leap centuries are evenly divisible by 400. 2000 will be a leap century!
  26. -- 
  27. "Where's the user's manual for this thing, anyway?" -- newbie
  28. dpeterso@isd.net
  29.